package com.yuncheng.spcyApi.alog.service.impl;

import com.yuncheng.spcyApi.alog.entity.SysOperLog;
import com.yuncheng.spcyApi.alog.mapper.SysOperLogMapper;
import com.yuncheng.spcyApi.alog.service.ISysOperLogService;
import com.yuncheng.common.base.service.impl.BaseServiceImpl;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Service;

@Service
public class SysOperLogServiceImpl extends BaseServiceImpl<SysOperLogMapper, SysOperLog> implements ISysOperLogService {

    @Async(value = "asyncSimpleTask")
    @Override
    public void addOperLog(SysOperLog log) {
        save(log);
    }
}
